#include "string.hpp"
#include <string>

int main()
{
    Joy::string s1("hello world");
    Joy::string::iterator it = s1.begin();
    while(it != s1.end())
    {
        cout << *it;
        ++it;
    }
    cout << endl;

    for(auto ch : s1)
    {
        cout << ch;
    }
    cout << endl;

    return 0;
}